<?php
date_default_timezone_set('America/Sao_Paulo');

session_start();
ob_start();

function library($class) {
    set_include_path('../core/classes/');
    spl_autoload_extensions('.class.php ');
    spl_autoload($class);
}
function modules($class) {
    set_include_path('core/classes/');
    spl_autoload_extensions('.class.php ');
    spl_autoload($class);
}
spl_autoload_register('modules');
spl_autoload_register('library');
